package zld369504.tw.m_team.fragments;

import android.support.v4.app.Fragment;
import android.support.v7.app.AlertDialog;


public class BaseFragment extends Fragment {

    public void showErrorDialog(String errMessage) {
        if(getActivity()!=null){
            AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
            builder.setMessage(errMessage);
            builder.setNeutralButton("确定", null);
            builder.create().show();
        }
    }
}
